﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

// Reviewed
#pragma once

#include "GcmpModelInterface.h"
#include "IObject.h"

namespace gcmp
{
    class ISelectionChangeEventArgs;

   /// \brief 选择集变化事件处理接口类
   ///
   /// 需要监听选择集变化事件时，从这个类中继承
    class GCMP_MODEL_INTERFACE_EXPORT ISelectionChangeEventHandler : public IObject
    {
        DEFINE_CAST_DERIVED(gcmp::ISelectionChangeEventHandler,gcmp::IObject)
    public:
        /// \brief 事件函数
        /// \param pArgs 事件参数
        /// \return void
        virtual void On(ISelectionChangeEventArgs* pArgs) = 0;
    };
}






